package com.zhang.作业Test;

import com.zhang.作业.Book;

public class TestBook {
    public static void main(String[] args) {

        Book b1=new Book(001,"jia","zhangshan",20,
                2000,200);
        Book b2=new Book(002,"jiameil","zhangshan",20,
                2000,200);
        Book b3=new Book(003,"jiahaizai","zhangshan",20,
                2000,200);
        Book[] books= {b1,b2,b3};
        for (Book book : books) {
            System.out.println(book.show());
        }

    }
}
